package com.flats.webview;


import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.multiaction.MultiActionController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;



@Controller
public class AddressController{

    @RequestMapping(value = "/test")
    public String add(Model model) {
        System.out.println("HomeController: Passing through...");
        model.addAttribute("test",6666666);
        return "address";
    }


}
